package com.rla.domain.vo;

import java.math.BigDecimal;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.rla.common.annotation.ExcelDictFormat;
import com.rla.common.convert.ExcelDictConvert;
import lombok.Data;


/**
 * 订单明细商品视图对象 mall_order_detail
 *
 * @author rla
 * @date 2025-08-08
 */
@Data
@ExcelIgnoreUnannotated
public class MallOrderDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    @ExcelProperty(value = "订单ID")
    private String orderId;

    /**
     * 药品编码
     */
    @ExcelProperty(value = "药品编码")
    private String drugCode;

    /**
     * 规格编码
     */
    @ExcelProperty(value = "规格编码")
    private String skuCode;

    /**
     * 药品价格
     */
    @ExcelProperty(value = "药品价格")
    private BigDecimal price;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    private Long num;

    /**
     * 单位
     */
    @ExcelProperty(value = "单位")
    private String unit;

    /**
     * 金额
     */
    @ExcelProperty(value = "金额")
    private BigDecimal amount;

    /**
     * 批号
     */
    @ExcelProperty(value = "批号")
    private String batchNum;

    /**
     * 顺序号
     */
    @ExcelProperty(value = "顺序号")
    private Long sort;

    /**
     * 消费积分
     */
    @ExcelProperty(value = "消费积分")
    private Long usePoints;

    /**
     * 中台商品名称
     */
    @ExcelProperty(value = "中台商品名称")
    private String erpDrugName;

    /**
     * 中台规格名称
     */
    @ExcelProperty(value = "中台规格名称")
    private String erpSpeciName;

    /**
     * 中台规格编号
     */
    @ExcelProperty(value = "中台规格编号")
    private String erpSpeciCode;

    private String isTcMainProduct;

}
